package com.lizhivscaomei.dueros.tobaccoguider.entity;

import java.io.Serializable;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;

/**
 * 香烟详细描述(Introduce)实体类
 *
 * @author makejava
 * @since 2021-02-26 21:28:28
 */
@Data
@Document(indexName = "introduce")
public class Introduce implements Serializable {
    private static final long serialVersionUID = 712351453130549640L;
    /**
    * 名称
    */
    @Id
    @Field(analyzer = "ik_max_word",searchAnalyzer = "ik_smart")
    private String name;
    /**
    * 价格
    */
    private String price;
    /**
    * 特点
    */
    @Field(analyzer = "ik_max_word",searchAnalyzer = "ik_smart")
    private String tedian;
    /**
    * 图片
    */
    private String img;
    /**
    * 简介
    */
    @Field(analyzer = "ik_max_word",searchAnalyzer = "ik_smart")
    private String introduce;

}